import nme.display.MovieClip;
import nme.Lib;
import nme.Assets;

class Main extends MovieClip {

    public var canvas:MovieClip;
    public var home:Home;
    
    public static function main () {
        Lib.current.addChild (new Main ());
    } // public static function main ()
    
    public function new () {
        super ();
        
        // Prepare the console
        Console.create();
        
        // Declare the canvas
        canvas = nme.Lib.current;

        // Create a home
        home = new Home(canvas);

    } // public function new ()

} // class Main extends MovieClip
